version 15
set more off  
clear
capture log close
macro drop _all 

*---------------------------------------------------------------------------*       				
* PROJECT: CONJOINT MILITARIZATION											*
* DO FILE: REPLICATION FIGURE 1												*
* SOURCE: LAPOP	DATASETS 2014												*
*---------------------------------------------------------------------------*

* STEP 1: ADD WORKING DIRECTORY
gl inp "/Users/jesszark/Dropbox/MILITARES LATAM/CIDE/Drafts/Submission_3_BJPS/04_Publication/01_Replication Files/Figure 1"

* STEP 2: APPEND DATA 

use "$inp/Support.dta", replace


* STEP 3: GEN FIGURE 1

graph hbar pcmilsup, over(ctry_num, sort(pcmilsup) descending) ///
	ytitle(Percentage) ylab(0(10)100) blabel(bar,format(%2.1f))
	
	graph export "$inp/Figure1.png", replace

